//
//  HJGoogleAuthenticator.h
//  GoogleLoginICloud
//
//  Created by lx on 2024/1/6.
//

#import <Foundation/Foundation.h>
#import <GoogleSignIn/GoogleSignIn.h>

NS_ASSUME_NONNULL_BEGIN

@interface HJGoogleAuthenticator : NSObject

+ (void)signInWithPresentingViewController:(UIViewController *)presentingViewController completion:(void (^__nullable)(GIDGoogleUser * _Nullable user, NSError * _Nullable error))completion;
+ (void)bindingWithPresentingViewController:(UIViewController *)presentingViewController completion:(void (^__nullable)(GIDGoogleUser * _Nullable user, NSError *error))completion;
+ (BOOL)handleURL:(NSURL *)url;


@end

NS_ASSUME_NONNULL_END
